﻿@model Web.Models.SysUserModel
@{
    ViewBag.Title = Model.PageTitle;
    ViewBag.SubTitle = Model.PageSubTitle;
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="row">
    <div class="col-lg-12">
        @using (Html.BeginForm("Edit", "SysUser", FormMethod.Post, new { id = "create-form", @class = "form-horizontal", role = "form" })) {
            @Html.Partial("_Notifications")
            <div class="panel">
                <div class="panel-heading panel-heading-edit">
                    <span><i class="fa fa-edit fa-fw"></i>@ViewBag.Title</span>
                </div>
                <div class="panel-body">
                    @Html.Partial("_CreateOrEdit", Model)
                </div>
                <div class="panel-footer">
                    <div class="form-group form-actions">
                        <div class="col-lg-offset-2 col-lg-6 col-sm-6">
                            <a class="btn btn-default  pull-left" href="~/SysUser/Index"><i class="fa fa-reply fa-fw"></i>返 回</a>
                            <button class="btn btn-primary pull-right" type="submit"><i class="fa fa-floppy-o fa-fw"></i>保 存</button>
                        </div>
                    </div>
                </div>
            </div>
        }
    </div>
</div>

